import { _decorator, Component, Widget } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('HomeBG')
export class HomeBG extends Component{

	protected start(){
		let wgt = this.node.getComponent(Widget);
		if(wgt) wgt.updateAlignment();

		mtec.cc.adaptBackgroundNode(this.node.getChildByName('background'));
	}

}

